package cn.blogger.service;

import cn.blogger.entity.PageResult;
import cn.blogger.pojo.TUser;

/**
 * by:lin 2021/11/22 10:14
 */
public interface UserService {
    //增加用户
    Object addUser(TUser user);
    //查询全部用户
    PageResult selectAllUser(Integer currentPage, Integer pageSize, String queryString);
    //根据用户id删除用户
    Object removeUser(int uid);
    //修改用户
    Object updateUser(TUser user);
    //根据id查询用户
    Object selectUserById(int uid);
}
